-
Notifications
You must be signed in to change notification settings - Fork 81
Configuration: Add BOARD_HAS_SECRET_KEY #362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #362 +/- ##
=======================================
Coverage 94.86% 94.86%
=======================================
Files 27 27
Lines 1130 1130
=======================================
Hits 1072 1072
Misses 58 58 |
src/ArduinoIoTCloudTCP.h
Outdated
@@ -29,7 +29,7 @@ | |||
#ifdef BOARD_HAS_ECCX08 | |||
#include "tls/BearSSLClient.h" | |||
#include "tls/utility/CryptoUtil.h" | |||
#elif defined(BOARD_ESP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one and the following one using WiFiClientSecure should stay under BOARD_ESP (which, by itself, should define BOARD_HAS_SECRET_KEY)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, i was thinking to do it when adding the other boards, but better to do it now!
Memory usage change @ 1194620
Click for full report table
Click for full report CSV
|
Memory usage change @ 3df9d32
Click for full report table
Click for full report CSV
|
Theoretically more board can use username and password authentication and probably more board are coming using this authentication method. Renaming this configuration define will make code more clear and readable.